package com.hxgz.steel.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
public class AskBuy {
    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("求购编号")
    private String askNum;

    @ApiModelProperty("商家名称")
    private String merchantName;

    @ApiModelProperty("商家id")
    private Long merchantId;

    @ApiModelProperty("求购状态 0卖家未报价 1卖家已报价 2卖家已拒绝 3正在报价 4报价已结束")
    private Integer status;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("求购文件地址")
    private String askFileUrl;

    @ApiModelProperty("报价时限")
    private Integer timeLimit;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty("修改时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @ApiModelProperty("用户id")
    private Long userId;

}